Learn R Programming

reutils (version 0.2.2)

[,efetch,character,missing-method: EFetch accessors

Description

Extract XML nodes from an efetch object.

Usage

"["(x, i, j)
"[["(x, i)

Arguments

x
An efetch object containing XML data.
i
An XPath expression specifying the XML nodes to extract.
j
Ignored.

Value

An XML node set.

Examples

Run this code
## Not run: 
# p <- efetch("195055", "protein", "gp", "xml")
# p['//GBFeature[GBFeature_key="mat_peptide"]//GBQualifier_value']
# ## End(Not run)

Run the code above in your browser using DataLab